<?php
/**
 * railbrowser default config file
 *
 * PHP versions 5
 *
 * Copyright (C)
 * This program is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation. Either version 2 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. Without even the implied warranty
 * of ERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program. Ff not, write to the Free Software
 * Fundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
 *
 * Copyright (C) 2006-2007
 *
 * @author Bastian Schröder <bs@chemanet.de>
 * @version 2008-04-17
 * @package railbrowser
 */

// path to PHPrail API
$cfg_pahToPHPrail = '/Users/bastian/Sites/open-rail/trunk/PHPrail/';

// cache directory must be writeable to webserver
$cfg_cache_dir = '../../cache/';

// resources directory
$cfg_resources_dir = '../../resources/';

// href for exit button
$cfg_exit_onclick = "parent.dijit.byId('module_railbrowser_dialog').hide();";

/* --------------------------------------- rail --------------------------------------- */
// MySQL host
// e.g.: localhost, myhost.mydomain.tld, 192.168.0.1
$cfg_mysqlHost = $_SESSION['railadmin_MYSQL_host'];

// MySQL user name
$cfg_mysqlUser = $_SESSION['railadmin_MYSQL_user'];

// MySQL password
$cfg_mysqlPasswd = $_SESSION['railadmin_MYSQL_passwd'];

// RAIL/MySQL databases
$cfg_mysqlDb = $_SESSION['railadmin_MYSQL_db'];

// RAIL user name
$cfg_railUser = isset($_SESSION['railadmin_railuser']) ? $_SESSION['railadmin_railuser'] : 'guest';

// RAIL password
$cfg_railPasswd =  isset($_SESSION['railadmin_railpasswd']) ? $_SESSION['railadmin_railpasswd'] : 'guest';

?>